﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;

namespace WorkList
{
    public class lessonMarker
    {
        private Dictionary<string, string> lessonInfo;
        public lessonMarker(string time, string name, string discipline, int grade, string isCompleted)
        {
            lessonInfo = new()
            {
                { "time", time},
                { "name", name},
                { "disc", discipline},
                { "comp", isCompleted},
                { "grade", grade.ToString() }
            };
        }
        public string Time { get { return lessonInfo["time"]; } }
        public string Name { get { return lessonInfo["name"]; } }
        public string Discipline { get { return lessonInfo["disc"]; } }
    }
}
